package com.hzit.goods.service.impl;

import com.hzit.common.resp.GoodsInfo;
import com.hzit.goods.service.IGoodsService;
import org.springframework.stereotype.Service;

/**
 * 商品接口实现类
 */
@Service
public class GoodsServiceImpl implements IGoodsService {


    @Override
    public GoodsInfo queryByGId(String gId) {

        GoodsInfo goodsInfo = new GoodsInfo();
        goodsInfo.setDesc("贵州茅台");
        goodsInfo.setGoodsId("1");
        goodsInfo.setNum("1");
        goodsInfo.setPrice("2499");
        return goodsInfo;
    }
}
